home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970626-19970929 / 000198_news@newsmaster….columbia.edu _Tue Aug 19 12:57:37 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA29993
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Tue, 19 Aug 1997 12:57:33 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id MAA11467
  7.     for kermit.misc@watsun; Tue, 19 Aug 1997 12:57:32 -0400 (EDT)
  8. Path: news.columbia.edu!sol.ctr.columbia.edu!spool.mu.edu!uwm.edu!vixen.cso.uiuc.edu!news-peer.sprintlink.net!news-pull.sprintlink.net!news-in-east.sprintlink.net!news.sprintlink.net!Sprint!204.97.220.6!earth.superlink.net!not-for-mail
  9. From: TTSG <ttsg@ttsg.com>
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: "shebang" help
  12. Date: Tue, 19 Aug 1997 12:52:39 -0400
  13. Organization: TTSG
  14. Lines: 51
  15. Sender: (&%KEY*C.&3X @tucsapt.superlink.net
  16. Message-ID: <33F9CF57.740BF0D6@ttsg.com>
  17. NNTP-Posting-Host: tucsapt.superlink.net
  18. Mime-Version: 1.0
  19. Content-Type: text/plain; charset=us-ascii
  20. Content-Transfer-Encoding: 7bit
  21. X-Mailer: Mozilla 3.01 (X11; I; Linux 2.0.0 i486)
  22. Xref: news.columbia.edu comp.protocols.kermit.misc:7506
  23.  
  24. I'm trying to create a script that just dials a telephone number and
  25. when its done exits (NO, THIS ISNT A PRANK DIALER! I want to set email
  26. up that when I receive a message, it'll just dial my phone to let me
  27. know I have email)
  28.  
  29. SO:
  30.  
  31. #!/usr/local/bin/kermit
  32.     set modem type hayes-high-speed    ; I have an Accura modem
  33.     set port /dev/tty16                ; on tty16 (AIX)
  34.     set speed 2400                     ; Arbitrary
  35.     set parity even                    ; More Arb
  36.     set flow xon/xoff                  ; Ok, so I copied this 
  37.     set modem flow none                ; from ckepage.ksc
  38.     set dial retries 1                 ; Allow 10 redials
  39.     dial 19145551212                   ; Call my home phone
  40.     end                                   ; Lemme out
  41.  
  42.  
  43. Problem is, I get :
  44.  
  45. Removing stale lock /etc/locks/LCK..tty16 (pid 15509 terminated)
  46.  Trying: 18005966882...
  47.  Device: /dev/tty16, modem: hayes-high-speed, speed: 2400
  48.  Dial timeout: 46 seconds
  49.  To cancel: type your interrupt character (normally Ctrl-C).
  50. DIAL Failure: DIAL TIMEOUT interval expired.
  51. C-Kermit 6.0.192, 6 Sep 96, for IBM RS/6000 AIX 3.2
  52.  Copyright (C) 1985, 1996,
  53.   Trustees of Columbia University in the City of New York.
  54. Default file-transfer mode is TEXT
  55. Type ? or HELP for help.
  56. [/home/tuc] C-Kermit>
  57.  
  58.  
  59. and then stays there.
  60.  
  61. I tried to put 
  62.  
  63. #!/usr/local/bin/kermit -q -H -E
  64.  
  65. but I get :
  66.  
  67. ?"-q -H -E" - invalid command-line option, type "kermit -h" for help
  68.  
  69.         
  70.  
  71.  
  72. IDEAS?
  73.  
  74. Thanks, Tuc/TTSG